<template>
  <div class="sort">
    <el-container>
      <el-container>
        <el-aside width="300px">
          <!-- 左边手风琴插件 -->
          <accordion></accordion>
        </el-aside>
        <!-- 右边展示内容 -->
        <el-main>
          <!-- 展示内容 -->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import accordion from "./left/accordion";

export default {
  components: {
    accordion
  }
};
</script>

<style scoped>
.sort {
  margin-top: 10px;
}

.el-aside {
  background-color: rgb(250, 250, 250);
  color: #333;
  text-align: center;
  line-height: 200px;
  overflow: visible;
}

.el-main {
  background-color: rgb(250, 250, 250);
  color: #333;
  text-align: center;
  width: 840px;
  overflow: visible;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
.el-container {
  width: 1200px;
  margin: 0 auto;
  min-height: 581.4px;
}
.sort {
  background-color: rgb(250, 250, 250);
}
[data-v-2cb87f90].el-main {
  min-height: 581.4px;
}
</style>